﻿<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="zb.aspx.cs" Inherits="Web.live.zb" %>

<!DOCTYPE html>

<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
    <title></title>
</head>
<body>
    <form id="form1" runat="server">
        <div>
            <asp:TextBox ID="SNTB" runat="server" Text="" Width="500px" Visible="false"></asp:TextBox>
            <asp:Button runat="server" ID="SQBT" Text="查询" Visible="false" Width="149px" Height="26px" OnClick="SQBT_Click" Style="margin-left: 38px" /><br />
            <br />
            <asp:TextBox ID="SQTB" runat="server" Text="" Width="388px" Height="388px" TextMode="MultiLine"></asp:TextBox>
            <asp:Button runat="server" ID="BCBT" Text="保存" Visible="false" Width="149px" Height="26px" OnClick="BCBT_Click" /><br />
            <br />
            <asp:TextBox ID="RQTB" runat="server" Text=""></asp:TextBox><br />
            <br />
            <button id="ygybt" onclick="add(30);">一个月</button>
            <button id="egybt" onclick="add(61);">二个月</button>
            <button id="sgybt" onclick="add(92);">三个月</button><br />
            <br />
            <button id="bnbt" onclick="add(180);">半年</button>
            <button id="qqqq" onclick="add(3);">千万不要选错</button>
            <button id="ynbt" onclick="add(365);">一年</button><br />
            <br />
            <button id="mfb" onclick="add(0);">手动版本</button>
            <button id="gq" onclick="add(-1);">过期</button><br />
            <br />
            <asp:TextBox ID="MBTB" runat="server" Text="PK"></asp:TextBox><br />
            <br />
            <div style="width: 200px;">
                <asp:CheckBox ID="KSCB" runat="server" Text="快手" /><br />
                <br />
                <asp:CheckBox ID="KSHHCB" runat="server" Text="快手豪华版" /><br />
                <br />
                <asp:CheckBox ID="LWCB" runat="server" Checked="true" Text="礼物管理系统" /><br />
                <br />
                 <asp:DropDownList ID="DDL" runat="server"></asp:DropDownList>
                 <br />
                <asp:CheckBox ID="DYCB" runat="server" Text="抖音" /><br />
                <br />
                <asp:CheckBox ID="DYHHCB" runat="server" Text="抖音豪华版" /><br />
                <br />
                <asp:CheckBox ID="HCB" runat="server" Text="HB快手" /><br />
                <br />
                <asp:CheckBox ID="MBCB" runat="server" Text="模板" /><br />
                <br />
            </div>
            <asp:TextBox ID="DZTB" runat="server" Text=""></asp:TextBox><br />
            <br />
            <asp:Button runat="server" ID="zhuce" Text="关闭页面" OnClick="zhuce_Click" Visible="false" Width="388px" Height="58px" />
            <asp:CheckBox ID="WLCB" runat="server" Text="网络认证" Checked="true" /><br />
            <br />
            <asp:CheckBox ID="DSFCB" runat="server" Text="第三方" /><br />
            <br />
            <asp:TextBox ID="URLTB" runat="server" Text="http://61.164.109.179:9000/opauth"></asp:TextBox><br />
            <br />
            <asp:TextBox ID="MMTB" runat="server" Text="20"></asp:TextBox><br />
            <br />
            <asp:CheckBox ID="QQCB" runat="server" Text="开启QQ" /><br />
            <br />
            <asp:CheckBox ID="SCB" runat="server" Text="删除SN" /><br />
            <br />
            <asp:Button runat="server" ID="MFBT" Text="免费使用" OnClick="MFBT_Click" Visible="false" /><br />
            <br />
            <asp:Button runat="server" ID="BMFBT" Text="取消免费" OnClick="BMFBT_Click" Visible="false" /><br />
            <br />
            <br />
            <asp:Button runat="server" ID="DIPBT" Text="删除IP" OnClick="DIPBT_Click" Visible="false" /><br />
            <br />
            <asp:TextBox ID="IP" runat="server" Text="" Width="918px" Height="518px" TextMode="MultiLine"></asp:TextBox><br />
            <br />
            <asp:Button runat="server" ID="IPBT" Text="IPIPIP" OnClick="IPBT_Click" Visible="false" />
        </div>
        <br /><br /><br />
        <div>
            <asp:CheckBox ID="lmcb" runat="server" Text="连麦" /><br />
            <br />
            <asp:CheckBox ID="zjcb" runat="server" Text="证件" /><br />
            <br />
            <asp:CheckBox ID="phbcb" runat="server" Text="排行榜" /><br />
            <br />
            <asp:CheckBox ID="cjcb" runat="server" Text="抽奖" /><br />
            <br />
            <asp:CheckBox ID="xqcb" runat="server" Text="相亲" /><br />
            <br />
            <asp:CheckBox ID="pkcb" runat="server" Text="PK对战" /><br />
            <br />
            <asp:CheckBox ID="xqpkcb" runat="server" Text="相亲PK" /><br />
            <br />
            <asp:CheckBox ID="spxqcb" runat="server" Text="视频相亲" /><br />
            <br />
            <asp:TextBox ID="czk" runat="server" Text=""></asp:TextBox><br />
            <br />
            <asp:TextBox ID="MMIP" runat="server" Text="123.56.31.101#2021" Visible="false"></asp:TextBox><br />
            <br />
            <asp:Button runat="server" ID="xqpk" Text="相亲PK"  Visible="false" Width="188px" Height="88px" OnClick="xqpk_Click" />
            <br />
        </div>
        <div>
            <ul id="list" runat="server"></ul>
        </div>
        <script>
            Date.prototype.format = function (fmt) {
                var o = {
                    "M+": this.getMonth() + 1,                 //月份 
                    "d+": this.getDate(),                    //日 
                    "h+": this.getHours(),                   //小时 
                    "m+": this.getMinutes(),                 //分 
                    "s+": this.getSeconds(),                 //秒 
                    "q+": Math.floor((this.getMonth() + 3) / 3), //季度 
                    "S": this.getMilliseconds()             //毫秒 
                };
                if (/(y+)/.test(fmt)) {
                    fmt = fmt.replace(RegExp.$1, (this.getFullYear() + "").substr(4 - RegExp.$1.length));
                }
                for (var k in o) {
                    if (new RegExp("(" + k + ")").test(fmt)) {
                        fmt = fmt.replace(RegExp.$1, (RegExp.$1.length == 1) ? (o[k]) : (("00" + o[k]).substr(("" + o[k]).length)));
                    }
                }
                return fmt;
            }
            function add(day) {
                if (day == 0) {
                    document.getElementById("RQTB").value = "2088-11-11";
                    document.getElementById("czk").value = "2088-11-11pk";
                }
                else if (day == -1) {
                    document.getElementById("RQTB").value = "2020-02-02";
                    document.getElementById("czk").value = "2020-02-02pk";
                }
                else {
                    var myDate = new Date();
                    var d = new Date(myDate);
                    d.setDate(d.getDate() + day);
                    document.getElementById("RQTB").value = d.format("yyyy-MM-dd");
                    document.getElementById("czk").value = d.format("yyyy-MM-dd") + "pk";
                }
                return false;
            }
        </script>
    </form>
</body>
</html>
